const config = {
    development: {
        baseURL: 'http://localhost:8080',
        // 腾讯地图API密钥
        qqMapKey: 'D52BZ-TQBWT-BHYXJ-LOXUR-LKYXE-LXFPN',
        // 微信订阅消息模板ID配置
        wechat: {
            subscribeTemplates: {
                orderCancel: 'n-YSlhLVXLxVV_U2yFvloZg7WpASJ-KuILjn_Ga-ie8', // 订单取消通知模板ID
                orderComplete: 'BJ0qottxleqKvKyvMoUSU8Aco0581dDZspimb3Nul-Y' // 订单完成通知模板ID
            }
        }
    },
    production: {
        baseURL: 'https://zhonghui.keketrtr.top/customer-api', // 替换为你的生产环境API地址
        // 腾讯地图API密钥
        qqMapKey: 'D52BZ-TQBWT-BHYXJ-LOXUR-LKYXE-LXFPN',
        // 微信订阅消息模板ID配置
        wechat: {
            subscribeTemplates: {
                orderCancel: 'n-YSlhLVXLxVV_U2yFvloZg7WpASJ-KuILjn_Ga-ie8', // 订单取消通知模板ID
                orderComplete: 'BJ0qottxleqKvKyvMoUSU8Aco0581dDZspimb3Nul-Y' // 订单完成通知模板ID
            }
        }
    },
};

// 获取当前环境
const env = process.env.NODE_ENV || 'development';

export default config[env];